#include<iostream>
#include<vector>
using namespace std;
const int N = 2e5 + 10;
vector<int>ans;
int n;
int main()
{
	cin >> n;
	int h = 1, t = n;
	for (int i = 1; i <= n / 2; i++) {
		ans.push_back(h);
		ans.push_back(t);
		h++;
		t--;
	}
	if (n & 1)ans.push_back(n / 2 + 1);
	for (int x : ans) {
		cout << x << " ";
	}
	return 0;
}